package map;


import java.io.Serializable;


public enum TileType implements Serializable {

	GENERAL_FLOOR(4, true),
	CARPET(0, true),
	WALL(10, false),
	DOOR_OPENED(3, true),
	DOOR_CLOSED(2, false),
	STAIRS_UP(8,true),
	STAIRS_DOWN(9, true),
	GRASS(7, true),
	FLOOR2(5,true),
	FLOWER(6,true);
	
	private int spriteIndex;
	private boolean accessible;
	
	private TileType(int spriteIndex, boolean accessible) {
		this.spriteIndex = spriteIndex;
		this.accessible = accessible;
	}

	public int getSpriteIndex() {
		return spriteIndex;
	}






	public boolean isAccessible() {
		return accessible;
	}
	
	
	
}
